const contentConfig = {
  pageName: "goods",
  header: {
    title: "商品列表",
    btnTitle: "新建商品"
  },
  propList: [
    {
      type: "selection",
      label: "选择",
      width: "50px"
    },
    {
      type: "index",
      label: "序号",
      width: "50px"
    },
    { prop: "name", label: "商品名称", minWidth: "100" },
    { prop: "oldPrice", label: "原价格", minWidth: "80" },
    { prop: "newPrice", label: "新价格", minWidth: "80" },
    { prop: "desc", label: "商品描述", minWidth: "100" },
    { prop: "status", label: "状态", minWidth: "80" },
    { type:"custom",prop: "imgUrl", label: "图片", minWidth: "100", slotName: "imageSlot" },
    { prop: "inventoryCount", label: "库存", minWidth: "80" },
    { prop: "saleCount", label: "销量", minWidth: "80" },
    { prop: "favorCount", label: "收藏", minWidth: "80" },
    { prop: "address", label: "地址", minWidth: "80" },
    {
      prop: "createAt",
      label: "创建时间",
      minWidth: "220",
      slotName: "create"
    },
    {
      prop: "updateAt",
      label: "更新时间",
      minWidth: "220",
      slotName: "update"
    },
    { label: "操作", minWidth: "120", slotName: "handler" }
  ]
}
export default contentConfig
